﻿namespace Mocks
{
    public interface IDoor
    {
        void Open();
        void Close();
    }

    public class DoorMock : IDoor
    {
        public bool IsOpen = false;

        public void Open()
        {
            IsOpen = true;
        }

        public void Close()
        {
            IsOpen = false;
        }
    }
}
